package cn.wsh.org.mapper;

import cn.wsh.org.domain.Shop;
import cn.wsh.basic.mapper.BaseMapper;
import cn.wsh.org.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wushenghua
 * @since 2022-02-11
 */
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 通过店铺名称查询店铺
     * @param name 店铺名字
     * @return
     */
    Shop loadByName(String name);


    List<ShopVo> queryStateCount();
}
